<template>
 <ul class="yearcard">
<year-card v-for="(item,index) in data" :key="index" :item="item"></year-card>
 </ul>
</template>

<script>
import YearCard from './YearCard.vue';

export default {
    props:{
        data:Array,
    },
   
    components:{
        YearCard,
    }
}
</script>

<style lang="less" scoped>
 
</style>